//
//  Ext_UIBarButtonItem.swift
//  weibo_zha
//
//  Created by _zha on 16/10/23.
//  Copyright © 2016年 渣. All rights reserved.
//

import UIKit

extension UIBarButtonItem {
    
    convenience init(setHighlightedImgName: String? = nil, title: String? = nil, target: Any?, action: Selector) {
        self.init()
        let button = UIButton(setHighlightedImgName: setHighlightedImgName, title: title, target: target, action: action)
        self.customView = button
    }
    
}
